package com.csu.common.qo;

public class Sort {
	private String fieldName;
	private String sort;

	public String getFieldName() {
		return fieldName;
	}

	public void setFieldName(String fieldName) {
		this.fieldName = fieldName;
	}

	public String getSort() {
		return sort;
	}

	public void setSort(String sort) {
		this.sort = sort;
	}

	public Sort() {
	}

	public Sort(String fieldName, String sort) {
		super();
		this.fieldName = fieldName;
		this.sort = sort;
	}

	public enum SortEnum {
		DESC("desc");
		private final String value;

		private SortEnum(String value) {
			this.value = value;
		}

		public String getValue() {
			return value;
		}
	}
}
